<template>
  <div>
    <Dog :title=title></Dog>
    <Dog :title=title :src="src"></Dog>
  </div>
</template>

<script>
  import Dog from './components/Dog.vue'
export default {
  components:{
    Dog
  },
  data() {
    return {
      title:'这是一只孤独可怜的小狗',
      src:'https://tse1-mm.cn.bing.net/th/id/OIP-C.K5SZ3kPCybdDadmQDe8MQAHaHa?pid=ImgDet&rs=1',
    }
  },
}
</script>

<style>

</style>